package com.xxg.renrenproduct.domain.query;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 添加商品到收藏参数
 *
 * @author szj
 * @date 2021/11/30
 */
@Data
@ApiModel(value = "AddProductCollectionQuery", description = "添加商品到收藏参数")
public class AddProductCollectionQuery {
    @NotNull(message = "spuId不能为null")
    @ApiModelProperty(value = "商品Id")
    private Integer spuId;
    @NotNull(message = "skuId不能为null")
    @ApiModelProperty(value = "商品库存单元ID")
    private Integer skuId;
}
